package sh.wn36.vehiclemanage.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Driver对象", description="")
public class Driver implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "驾驶员名称")
    private String name;
    @ApiModelProperty(value = "驾驶员部门信息")
    private Integer deptId;
    @ApiModelProperty(value = "驾驶员性别")
    private String gender;
    @ApiModelProperty(value = "驾驶员生日")
    private Date birthday;
    @ApiModelProperty(value = "驾驶员驾照信息")
    private String card;
    @ApiModelProperty(value = "驾驶员手机号码")
    private String phone;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    @ApiModelProperty(value = "驾驶员入职日期")
    private Date entrytime;
    @ApiModelProperty(value = "驾驶员地址")
    private String address;
    @ApiModelProperty(value = "驾驶员驾照号码")
    private String driverNo;
    @ApiModelProperty(value = "驾驶员驾照类型")
    private Integer driverType;
    @ApiModelProperty(value = "不明")
    private String remarks;
    @ApiModelProperty(value = "是否启用")
    private Integer isdisable;
    @ApiModelProperty(value = "乐观锁")
    private String version;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "修改时间")
    private Date gmtModified;

}
